package com.base.service.impl;

import com.base.mapper.voipmapper.AboutsMapper;
import com.base.mapper.voipmapper.TbkGoodGoodsMapper;
import com.base.po.tbk.TbkGoodGoods;
import com.base.po.tbk.TbkGoodGoodsExample;
import com.base.po.voip.Abouts;
import com.base.po.voip.AboutsExample;
import com.base.service.AboutsService;
import com.base.service.TbkGoodGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("tbkGoodGoodsService")
public class TbkGoodGoodsServiceImpl implements TbkGoodGoodsService {
	
	@Autowired
	private TbkGoodGoodsMapper tbkGoodGoodsMapper;


	@Override
	public int countByExample(TbkGoodGoodsExample example) {
		return tbkGoodGoodsMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(TbkGoodGoodsExample example) {
		return tbkGoodGoodsMapper.deleteByExample(example);
	}

	@Override
	public int insert(TbkGoodGoods record) {
		return tbkGoodGoodsMapper.insert(record);
	}

	@Override
	public int insertSelective(TbkGoodGoods record) {
		return tbkGoodGoodsMapper.insertSelective(record);
	}

	@Override
	public List<TbkGoodGoods> selectByExample(TbkGoodGoodsExample example) {
		return tbkGoodGoodsMapper.selectByExample(example);
	}

	@Override
	public List<TbkGoodGoods> selectByContentId(String parentid, String contentid) {
		return tbkGoodGoodsMapper.selectByContentId(parentid, contentid);
	}

	@Override
	public TbkGoodGoods selectByPrimaryKey(String id) {
		return tbkGoodGoodsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(TbkGoodGoods record, TbkGoodGoodsExample example) {
		return tbkGoodGoodsMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(TbkGoodGoods record, TbkGoodGoodsExample example) {
		return tbkGoodGoodsMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(TbkGoodGoods record) {
		return tbkGoodGoodsMapper.updateByPrimaryKeySelective(record);
	}
}
